<!DOCTYPE html>
 <html lang="zh-CN">
<head>

<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>【{$city}{$area_name}{$grade_name}{$subject_name}辅导】一对一家教补习_老师上门</title>
<meta name="Keywords" content="老师上门,{$city}家教,一对一家教,一对一辅导" />
<meta name="Description" content="老师上门为您推荐{$city}家教优秀老师,线上预约,线下辅导。1对1家教上门,涵盖中小学各科以及艺术兴趣类优秀师资,有效提升高效学习,满意率超98%,为需要辅导的学员提供专业满意的服务" />
<meta name="author" content="laoshism.com">

<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />

<link href="__PUBLIC__/home/css/sishudiy.css" rel="stylesheet" type="text/css" media="all"/>
<link href="__PUBLIC__/home/css/header2_9.css" rel="stylesheet" type="text/css" media="all"/>
<link href="__PUBLIC__/home/css/searchteacher.css" rel="stylesheet" type="text/css" media="all"/>

<link href="__PUBLIC__/css/layui.css" rel="stylesheet" type="text/css" media="all"/>
<script type="text/javascript" src="__PUBLIC__/layui.js"></script>

<script type="text/javascript" src="__PUBLIC__/home/js/jquery.min.js"></script>

<!-- <script type="text/javascript" src="__PUBLIC__/home/js/sishu_parent_common.js"></script> -->
<script async type="text/javascript" src='__PUBLIC__/home/js/indexadd.js'></script>

<script type="text/javascript">
function goPAGE() {
    if ((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))) {
        window.location.href="http://www.laoshism.com/mobile";}
}
goPAGE();//调用判断函数
</script>

</head>
<body id="sishugogo" style="background-color: #f8f8f8;">
<!--header-->
<header>

<div class="site_nav">
<div class="site_nav_lr">

<ul class="site_nav_l">
<li><a href="{:U('index/index',array('newcity'=>$city))}" target="_self">老师上门首页</a></li>
<li>|</li>
<li><a href="javascript:;" target="_self" id="addSiteFavorite">加入收藏</a></li>
</ul>

<!-- login start-->
<?php if (isset($_SESSION['phone']) && $_SESSION['is_who'] == 'laoshi') { ?>
	<ul class="site_nav_r">
	<li><a href="{:U('laoshi/laoshi_core',array('newcity'=>$city))}" title="我的课程" target="_self">我的课程</a></li>
	<li>|</li>
	<li><a href="{:U('info/laoshi_info',array('id'=>$_SESSION['id'],'newcity'=>$city))}" title="个人中心" target="_self">个人中心</a></li>
	<li>|</li>
	<li><a href="{:U('laoshi/zlrz',array('newcity'=>$city))}" title="资料设置" target="_self">资料设置</a></li>
	<li>|</li>
	<li><a href="{:U('user/logout')}" title="退出" target="_self">退出</a></li>
	</ul>
<?php }elseif (isset($_SESSION['phone']) && $_SESSION['is_who'] == 'jiazhang') { ?>
	<ul class="site_nav_r">
	<li><a href="{:U('jiazhang/index',array('newcity'=>$city))}" title="学员中心" target="_self">学员中心</a></li>
	<li>|</li>
	<li><a href="{:U('jiazhang/jiazhang_one',array('newcity'=>$city))}" title="资料设置" target="_self">资料设置</a></li>
	<li>|</li>
	<li><a href="{:U('user/logout')}" title="学员中心" target="_self">退出</a></li>
	</ul>
<?php }else { ?>
	<ul class="site_nav_r">
	<li><a href="{:U('user/login',array('newcity'=>$city))}" title="登录" target="_self">请登录</a></li>
	<li>|</li>
	<li class="signup" id="to_lsjz"><a title="免费注册" href="javascript:;">免费注册</a></li>
	<div id="lsjz" style="width: 200px;height: 120px;background: #fff;position: absolute;top: 30px;right: 107px;display: none;z-index: 1000;box-shadow:3px 3px 3px;">
		<div style="width: 100px;height: 120px;background: #fff;float: left;text-align: center;border-right: 1px solid #f1ebeb;">
			<p style="padding-top: 20px;padding-bottom: 10px;color:#222">我是学员</p>
			<p style="width: 80px;background: #30C76C;border-radius: 8px;margin-left: 10px;"><a href="{:U('user/jz_zhuce',array('newcity'=>$city))}" style="color:#fff">学员注册</a></p>
		</div>
		<div style="width: 100px;height: 100px;background: #fff;float: left;text-align: center;">
			<p style="padding-top: 20px;padding-bottom: 10px;color:#222">我是老师</p>
			<p style="width: 80px;background: #30C76C;border-radius: 8px;margin-left: 10px;"><a href="{:U('user/ls_zhuce',array('newcity'=>$city))}" style="color:#fff">老师注册</a></p>
		</div>
	</div>
	</ul>
<?php } ?>
<script type="text/javascript">
	$(function(){
		//alert(1111);toggle hover
		$('#to_lsjz').click(
			function(event) {
			$('#lsjz').toggle();
			}
		);
	})
</script>

</div>

</div>

<div class="headCenter">
<div class="header clear-fx">
<div class="logolay poS">
	<a href="{:U('index/index',array('newcity'=>$city))}" title="老师上门官网" id="logomask" target="_self">
		<img src="__PUBLIC__/home/images/logo2_9.png" width="210" height="53" alt="老师上门logo" />
	</a>
	<span id="city_info" >
		<div class="hls_gps"><label id="getCity">{$city}</label><span id="chancity">切换城市</span></div>
		<div class="showcy" id="showCity">
			<ul>
			    <?php foreach ($city_info as $c) { ?>
			    	<li>
			    		<a href="{:U('index/index',array('newcity'=>$c['city_name']))}" target="_self">{$c.city_name}</a>
			    	</li> 
			    <?php } ?>          
			</ul>
			<div class="clear"></div>
			<p>更多城市即将开放，敬请期待！</p>
		</div>
	</span>
</div>
<form action="{:U('classes/index',array('newcity'=>$city))}" method="post">
	<div class="hls_find">
		<input type="text" name="keyword" placeholder="输入老师姓名或老师ID号" id="find-inp" autocomplete="off" type="text" class="searchinput"/>
		<!-- <span href="javascript:void(0);" class="hls_sou" id="zoomG" onclick="toHlsSou();">搜索</span> -->
		<button class="hls_sou" style="border: 0;">搜索</button>
	</div>
</form>
<ul class="hls_stern">
	<li style="width: 225px;height: 46px;margin-top: 24px;"><img src="__PUBLIC__/home/images/tel.png" alt=""></li>
</ul>

<div class="clear"></div>

</div>

</div>


<div class="mian_nav">
<div class="mycenter">
<!-- <h3 style="padding-left:40px;cursor:default;">全部课程导航</h3> -->
<div class="nav_box">
<ul>
    <li class="home"><a href="{:U('index/index',array('newcity'=>$city))}" target="_self">首页</a></li>
    <li><a href="{:U('index/jiazhang_zn',array('newcity'=>$city))}" target="_self">学员指南</a></li>
    <li><a href="{:U('index/laoshi_zn',array('newcity'=>$city))}" target="_self">老师指南</a></li>
    <li><a href="{:U('index/about',array('newcity'=>$city))}" target="_self">关于平台</a></li>
</ul>
<div class="nav-line" style="left:92px;width:64px;"></div>
</div>
</div>
</div>

</header>
<!-- search-divide -->
<div class="find-container">
	<div class="find_area">
		<div class="find_detail condition1">
			<p>选择大类：</p>
			<div class="evegrade">
				<p class="gao">
				<?php foreach ($whs as $g) { ?>
				<?php if ($wh == $g['grade_name']) { ?>
					<a href="{:U('classes/index',array('wh'=>$g['grade_name'],'newcity'=>$city))}" class="find_choosed">{$g['grade_name']}</a>
				<?php }else { ?>
					<a href="{:U('classes/index',array('wh'=>$g['grade_name'],'newcity'=>$city))}">{$g['grade_name']}</a>
				<?php } ?>
				<?php } ?>
				</p>
			</div>
			<p></p>
		</div>
		<div class="find_detail condition1">
			<p>选择年级：</p>
			<div class="evegrade">
			<p class="gao">
			<?php foreach ($grades as $g) { ?>
			<?php if ($grade_name == $g['grade_name']) { ?>
				<a href="{:U('classes/index',array('wh'=>$wh,'grade'=>$g['grade_name'],'newcity'=>$city))}" class="find_choosed">{$g['grade_name']}</a>
			<?php }else { ?>
				<a href="{:U('classes/index',array('wh'=>$wh,'grade'=>$g['grade_name'],'newcity'=>$city))}">{$g['grade_name']}</a>
			<?php } ?>
			<?php } ?>
			</p>
			</div>
			<p></p>
		</div>
		<div class="find_detail condition2">
			<p>选择科目：</p><p class="sd_details subject">
			<?php foreach ($kecheng as $k) { ?>
			<?php if ($subject_name == $k['grade_name']) { ?>
				<a href="{:U('classes/index',array('wh'=>$wh,'grade'=>$grade_name,'subject'=>$k['grade_name'],'newcity'=>$city))}"class="find_choosed">{$k['grade_name']}</a>
			<?php }else { ?>
				<a href="{:U('classes/index',array('wh'=>$wh,'grade'=>$grade_name,'subject'=>$k['grade_name'],'newcity'=>$city))}">{$k['grade_name']}</a>
			<?php } ?>	
			<?php } ?>
			</p>
			<p></p>
			</div>
			<div class="find_detail condition3">
			<p>选择区域：</p><p class="sd_details area">
			<?php foreach ($citys as $c) { ?>
			<?php if ($area_name == $c['city_name']) { ?>
				<a href="{:U('classes/index',array('wh'=>$wh,'grade'=>$grade_name,'subject'=>$subject_name,'area'=>$c['city_name'],'newcity'=>$city))}"class="find_choosed">{$c.city_name}</a>
			<?php }else { ?>
				<a href="{:U('classes/index',array('wh'=>$wh,'grade'=>$grade_name,'subject'=>$subject_name,'area'=>$c['city_name'],'newcity'=>$city))}">{$c.city_name}</a>
			<?php } ?>	
			<?php } ?>					
			</p>
		</div>
	</div>
<!-- zhong -->
<div class="row-find">
	<div class="fl" style="width:920px;">
        <div class="sider gra">
				<div class="choose_now">
					<h1>{$city}辅导</h1>
					<div class="tchsex fr">
						<?php if ($price == 'asc') { ?>
							<span>价格从低到高</span>
						<?php } elseif ($price == 'desc') { ?>
							<span>价格从高到低</span>
						<?php } else { ?>
							<span>价格</span>
						<?php } ?>
						<div class="pr_list">
							<ul>
								<li><a href="{:U('classes/index',array('grade'=>$grade_name,'subject'=>$subject_name,'area'=>$area_name,'price'=>asc,'newcity'=>$city))}" >价格从低到高</a></li>
								<li><a href="{:U('classes/index',array('grade'=>$grade_name,'subject'=>$subject_name,'area'=>$area_name,'price'=>desc,'newcity'=>$city))}" >价格从高到低</a></li>
							</ul>
						</div>
					</div>
					<div class="tchsex fr">
						<?php if ($jiaoling == 'asc') { ?>
							<span>教龄从低到高</span>
						<?php } elseif ($jiaoling == 'desc') { ?>
							<span>教龄从高到低</span>
						<?php } else { ?>
							<span>教师教龄</span>
						<?php } ?>
						<div class="sex_list">
							<ul>
								<li><a href="{:U('classes/index',array('grade'=>$grade_name,'subject'=>$subject_name,'area'=>$area_name,'jiaoling'=>asc,'newcity'=>$city))}" >教龄从低到高</a>
								</li>
								<li><a href="{:U('classes/index',array('grade'=>$grade_name,'subject'=>$subject_name,'area'=>$area_name,'jiaoling'=>desc,'newcity'=>$city))}" >教龄从高到低</a>
								</li>
							</ul>
						</div>
					</div>
				</div>
            <div class="teacher-collection" id="tcoll">
            <?php foreach ($chaxuns as $c) { ?>
            	<a class="detailsCard" href="{:U('info/laoshi_info',array('id'=>$c['id'],'newcity'=>$city))}" target="_blank">
					<div class="dd fl" style="margin-top: 25px;"><img src="__ROOT__{$c.face}"></div>
					<div class="dd fl">
					<div class="vie fr" style="margin-top: 20px;">
					<div class="star-view">
						<div class="view-g">
							<p class="gg" style="margin-bottom: 15px;"><strong>{$c.price}</strong>元/课时</p>	
						</div>
						<div class="view-g">
							<div onclick="window.location.href='{:U('info/jz_order_ls',array('id'=>$c['id'],'newcity'=>$city))}';return false">
                    			<span class="btn" style="width: 150px;margin: auto">免费预约</span>
                			</div>
						</div>
					</div>
					</div>
					<div class="d-etails">
						<p class="pname" style="width: 180px;"><?php echo mb_substr($c['sfz_name'], 0,1,'utf-8').'老师' ?>
						<?php if ($c['is_tuij'] == 1) { ?>
							<span style="padding: 1px 4px;font-size: 8px;border: 1px solid #EE6100;border-radius: 5px;color: #EE6100;">推荐</span>
						<?php }else { ?>
						<?php } ?> 
						</p>
						<p class="desc-90">
							<img src="__PUBLIC__/home/images/kc.png" style="width: 24px;height: 24px;position: absolute;margin-top: -2;box-shadow: none;"> 
							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;科目：
							<span style="border: 0px solid;color:#30363a">{$c.grades} / <em style="color: #30363a;">{$c.subject}</em></span>

							<img src="__PUBLIC__/home/images/jl.png" style="width: 22px;height: 22px;position: absolute;box-shadow: none;display: inline-block;">
							<span style="border: 0px;font-size: 14px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;教龄：<em style="color: #30363a;">{$c.jiaoling}</em></span>						
						</p>
						<p class="desc-90">
							<img src="__PUBLIC__/home/images/dt.png" style="width: 22px;height: 22px;position: absolute;margin-top: -2;box-shadow: none;"> 
							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;区域：
							<span style="border: 0px;font-size: 14px;"><em style="color: #30363a;">{$c.address}</em></span>						
						</p>
						<p class="desc-90">
							<span style="border: 0px solid;color:#FF986B">{$c.laoshi_stye}</span>						
						</p>
						<p class="desc-90" style="width: 80px;float: left;"></p>
						<div style="width: 500px;margin-top: 10px;">
							<span style="margin-left: -80px;">{$c.jianjie|htmlspecialchars_decode|strip_tags|mb_substr=0,65,'utf-8'}...</span>
						</div> 
						<p></p>
						<div style="margin-bottom: 1px;" class="clear"></div>
					</div>
					</div>
					<span class="clear" style="display:block;"></span>
				</a>
			<?php } ?>	
            </div>

            <div class="page-turning u-l clear-fx" id="page_choose">
       		 	{$page}
       		 	<li class="rows" style="width: 80px;">
       		 		共<b>{$count}</b>条记录&nbsp;
       		 	</li>
            </div>	
        </div>
		<div class="notice_description">
			<p>本平台所有老师均通过严格的审核认证</p>
		</div>
		<div class="clear"></div>
	</div>
        <div class="sider R-r-au">

        <form action="{:U('jiazhang/zhao_laoshi',array('newcity'=>$city))}" method="post">
            <div class="teacherAssigned" style="margin-top: 0px;width: 271px;margin-bottom: 10px;">
                <!-- <h3 style="font-weight: bold; font-size:18px;">快速请名师</h3> -->
                <div class="conditions">
                    <!-- <span class="select_like" id="select_grade" style="border: 1px solid rgb(153, 153, 153); color: rgb(51, 51, 51);">请选择年级</span> -->
                    <select class="select_like"  onChange="var jmpURL=this.options[this.selectedIndex].value ;if(jmpURL!='') {window.location=jmpURL; }else{ this.selectedIndex=0; }">
                        <option value="">请选择课程</option>
                        <?php foreach ($whs as $v) { ?>
                            <option value="{:U('classes/index',array('wh'=>$v['grade_name']))}" {$v['grade_name']==$wh?"selected":''}>{$v.grade_name}</option>
                        <?php } ?>
                    </select>
                </div>
                <div class="conditions">
                    <!-- <span class="select_like" id="select_grade" style="border: 1px solid rgb(153, 153, 153); color: rgb(51, 51, 51);">请选择年级</span> -->
                    <select name="class" id="" class="select_like">
                        <option value="">请选择类别</option>
                        <?php foreach ($grades as $v) { ?>
                            <option value="{$v['grade_name']}">{$v.grade_name}</option>
                        <?php } ?>
                    </select>
                </div>
                <div class="conditions no_botop">
                    <!-- <a href="{:U('jiazhang/zhao_laoshi',array('newcity'=>$city))}" class="btn-blue">提交需求</a> -->
                    <input type="hidden" name="grade" value="{$wh}">
                    <button class="btn-blue">快速请名师</button>
                </div>
            </div>
        </form>

		<div class="gra" id="newlook">
			<h3 class="recentscan" style="text-align: center;">最新认证老师</h3>
			<div class="recent-lesson" id="lookroll">
				<?php foreach ($new_laoshi as $v) { ?>
				<a href="{:U('info/laoshi_info',array('id'=>$v['id'],'newcity'=>$v['city']))}" target="_blank" style="border-top: 1px solid #F8F8F8;">
					<div class="det-lesson newlook">
					<img src="__ROOT__{$v['face']}" alt="" height="32" width="32" style="margin: -19px 15px -0px;float: left;">
					<span style="margin-bottom: 8px;margin-top: -12px;font-size:14px;color: #094;" >{$v['grades']} {$v.subject}</span>
					<p style="color: #100e0e;font-size: 12px;">认证时间</p>
					<p style="color: #100e0e;font-size: 12px;"><?php echo date('Y-m-d',$v['create_time']) ?></p>
					</div>
				</a>
				<?php } ?>					
			</div>
		</div>    
            
      </div>
    </div>
<!-- zhong -->
</div>
<a style="display: none;" href="javascript:;" class="arrow-up" id="arrowup">&nbsp;</a>


<!-- 尾部 -->
<include file="Public:fooder" />

<script type="text/javascript" charset="utf-8" src="__PUBLIC__/home/js/jquery-1.js" id="hz6d_flp_jquery"></script>
<script type="text/javascript" src="__PUBLIC__/home/js/fenleiadd.js"></script>


</script>
</body></html>